import Mock from "mockjs"

Mock.setup({
  timeout: 400
})


export default Mock.mock('/api/users', 'get',() => {
  return Mock.mock({
    "user|1-50": [{
      'name': '@cname',
      'id|+1': 1,
      'age|10-60': 0,
      'birthday': '@date("yyyy-MM-dd")',
      'city': '@city(true)'
    }]
  })
})
